from pydantic import BaseModel

class Settings(BaseModel):
    AUTHJWT_SECRET_KEY: str = "secret"
    ALGORITHM:str = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES:int = 5
    REFRESH_TOKEN_EXPIRE_DAYS:int = 7

class TokenData(BaseModel):
    id:int
    name: str
    avatar: str